﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/IntranetSite.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.9.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.simplyscroll.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Scripts/jquery.simplyscroll.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery-letterfx.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/css/jquery-letterfx.min.css")" rel="stylesheet" type="text/css" />

     @RenderSection("head", false)
</head>
<body>
    <div class="page">
        @if (ViewBag.IsScoreBoard ==null || (ViewBag.IsScoreBoard != null && !ViewBag.IsScoreBoard))
        {
             <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
             </div>
        }

 @*       <div id="header">
            <div id="title">
                <h1>Computing Contest Scoring</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </div>
        </div>*@
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>

     <script type="text/javascript">
             $(function () {
                 setInterval(function () {
                     $.get('@Url.Action("Ping", "Score")');
                 }, 600000);
             });
     </script>
</body>
</html>

